@echo off
set path=C:\PSP\PSPSDK\bin;D:\Archivos de programa\WinRAR\;c:\windows\system32
set PSPSDK=C:\PSP\PSPSDK\psp\sdk
@echo --- Compilad Driver ---
cd usbdriver
psp-build-exports --build-stubs support.exp
copy *.S ..\loader
make
copy *.prx ..\bin
make clean
cd ..
@echo --- Compilar Loader ---
cd loader
make
copy EBOOT.PBP ..\bin
make clean
cd ..

@echo --- Copy files... ---
cd bin
copy *.* G:\PSP\GAME\PS3JB
RAR a bin.rar *.*
pause